Use a new gtk-doc feature to generate much nicer indices.
authorMatthias Clasen <mclasen@redhat.com>
Fri, 21 Nov 2008 08:21:28 +0000 (08:21 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 21 Nov 2008 08:21:28 +0000 (08:21 +0000)
2008-11-21  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am:
        * gdk/Makefile.am:
        * gdk-pixbuf/Makefile.am: Use a new gtk-doc feature to generate
        much nicer indices.

        * gtk/drawing-model.xml: Fix document structure

svn path=/trunk/; revision=21795

docs/reference/gdk-pixbuf/Makefile.am
docs/reference/gdk/Makefile.am
docs/reference/gtk/Makefile.am
docs/reference/gtk/drawing-model.xml

index f8cda83e61ef6dde62e18ee49f99890cf5fee867..3bf686d3ee435457dd0f7dee5090eb27e72ce67f 100644 (file)
@@ -47,7 +47,7 @@ GTKDOC_LIBS = \
 
 
 # Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--main-sgml-file=$(DOC_MAIN_SGML_FILE) --sgml-mode --source-dir=../../../contrib/gdk-pixbuf-xlib --output-format=xml
+MKDB_OPTIONS=--main-sgml-file=$(DOC_MAIN_SGML_FILE) --sgml-mode --source-dir=../../../contrib/gdk-pixbuf-xlib --output-format=xml --name-space=gdk_pixbuf
 
 # Extra SGML files that are included by DOC_MAIN_SGML_FILE
 content_files =                                \
index 094557c1a84c114450a9e8cd564081fca93b5d1c..28d7035e8d947532291a95e84e837667d08f9299 100644 (file)
@@ -52,7 +52,7 @@ GTKDOC_LIBS = $(top_builddir)/gdk/$(gdktargetlib)
 
 
 # Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=gdk
 
 # Extra SGML files that are included by DOC_MAIN_SGML_FILE
 content_files =                \
index 3669707a859339be7e40de95694064215eaa5b89..af527eecb9bb95227d1858b33df81ee964a18781 100644 (file)
@@ -117,7 +117,7 @@ GTKDOC_LIBS = \
 
 
 # Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=gtk
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
 content_files =                                        \
@@ -156,6 +156,7 @@ content_files =                                     \
        visual_index.xml
 
 expand_content_files =                                 \
+       drawing-model.xml                       \
        glossary.xml                            \
        migrating-checklist.sgml                \
        migrating-GtkAction.sgml                \
index 1da700480c5a325a67cc51c92d6a96510a7c5bf9..18f0ee7ae9e5f2b91d6b616f14e18572130c8623 100644 (file)
@@ -1,3 +1,7 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
 <chapter id="chap-drawing-model">
   <title>The GTK+ Drawing Model</title>